<ul title="<%= @panel_title || "Spendy! Home" %>" selected="true">

  <% flash.each do |key,value| %>
  <li class="flash"><span class="flash_<%=h key %>"><%= value %></span></li>
  <% end -%>

  <li class="group">Expenses</li>
  <li><%= link_to "Add New Expense", new_expense_path %></li>
  <li><%= link_to "List by Category", :controller => "expenses", :action => "by_category" %></li>
  <li><%= link_to "List by Date", :controller => "expenses", :action => "by_date" %></li>
  <li class="group">Categories</li>
  <li><%= link_to "Add New Category", new_category_path %></li>
  <li><%= link_to "List Categories", categories_path %></li>

</ul>
